⚠️ Android only.
Updates the Google user ID and Google device ID that Esper has stored for a device.
Changes Esper's record only; nothing is changed on the Google side. Returns the device_id and tenant_id of the updated record.
About Updating a Device Google Account Use this to correct Esper's record when it no longer matches what the emm-managed/ endpoint reports for the device.
Key Fields / Query Parameters
deviceId— UUID of the devicegoogle_device_id,google_user_id— Both required
- Mock serverhttps://api.esper.io/_mock/openapi/v2/devices/{deviceId}/google-accounts/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/v2/devices/{deviceId}/google-accounts/
curl -i -X PUT \
'https://api.esper.io/_mock/openapi/v2/devices/{deviceId}/google-accounts/' \
-H 'Content-Type: application/json' \
-d '{
"google_device_id": "string",
"google_user_id": "string"
}'Response
{ "content": { "device_id": "string", "tenant_id": "string" } }